@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

.Top-Title{
    font-family: "Sarabun",san-serif;
    margin-top: 6rem;
    background-image: 
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
    url("../assets/Service-top.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main-title {
    padding: 0 9.5rem;
    display: flex;
    justify-content: left;
    width: 100%;
}

.Top-Title .title{
    padding: 90px 0;
}

.Top-Title .title h2{
    margin-bottom: 15px;
    font-size: 48px;
    color: #fff;
}

.Top-Title .title .sub-title i{
    padding: 0 10px ;
}

.Top-Title .title .sub-title span{
    color: #6099fb ;
}

.Top-Title .title h4{
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1;
}

.Service-Page{
    padding: 0 9.5rem;
    width: 100%;
}

.service-wrapper {
    gap: 2rem;
    font-family: "Sarabun",sans-serif;
    padding: 6rem 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.sidemenu-wrapper {
    display: flex;
    flex-direction: column;
    width: 30%;
    align-items: center;
}

.sidemenu-top{
    background: #0980ff24;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.sidemenu-top .service-items li{
    margin-bottom: 5px;
}

.sidemenu-top .service-items li:last-child{
    margin-bottom: 0;
}

.sidemenu-top .service-items li a {
    display: flex;
    align-items: center;
    background: #fff;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 20px;
    font-size: 18px;
    font-weight: 500;
    text-transform: capitalize;
    color: #151515;
    border-radius: 6px;
    transition: all ease 0.4s;
}

.sidemenu-top .service-items li a:hover{
    background: #1362c8;
    color: #fff;
}

.sidemenu-top .service-items li a:hover span{
    color: #fff;
}

.sidemenu-top .service-items li a span{
    color: #6099fb;
}

.sidemenu-middle {
    background: transparent;
    position: relative;
    border: 1px solid #E5E7E8;
    text-align: center;
    padding: 40px 30px 50px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sidemenu-middle .logo{
    width: 100%;
    margin-bottom: 25px;
}

.sidemenu-middle .title h2{
    margin-bottom: 25px;
    text-transform: capitalize;
    font-size: 24px;
    font-weight: 600;
}

.sidemenu-middle .contact{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    gap: 6px;
    font-weight: 700;
    line-height: 1;
    color: #6099fb;
    margin-bottom: 40px;
}

.sidemenu-middle .logo img{
    width: 140px;
}

.img-box-service img{
    width: 100%;
    /* height: 480px; */
    object-fit: cover;
    border-radius: 10px;
}

.sidemenu-btn{
    background: #1362c8;
    color: #ffffff;
    border: 1px solid var(--tg-border-5);
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    transition: 0.4s all ease;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s all ease;
}

.sidemenu-btn:hover{
    background: #000;
}

.sidemenu-background{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 277px;
    background-size: cover;
    background-position: center;
    z-index: -1;
    background-image: url("../assets/texture.png");
}

.sidemenu-bottom{
    background: #1362c8;
    padding: 25px 30px 35px;
    border-radius: 8px;
}

.sidemenu-bottom .content-box h4{
    color:#fff;
    font-size: 22px;
    text-transform: capitalize;
    position: relative;
    padding-bottom: 10px;
}

.sidemenu-highlight{
    display: flex;
    position: absolute;
    width: 30px;
    height: 4px;
    border-radius: 4px;
    background: #fff;
}

.sidemenu-bottom .content-box p{
    margin: 20px 0;
    color: #fff;
    font-weight: 600;
    text-transform: capitalize;
    line-height: 1.5;
}

.sidemenu-bottom-btn{
    display: flex;
    align-items: center;
    background: #ecf6fa;
    border-radius: 5px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    gap: 12px;
    margin-bottom: 10px;
}

.sidemenu-bottom-btn span{
    color: #6099fb;
}

.services-page-wrapper {
    display: flex;
    flex-direction: column;
    width: 70%;
    align-items: center;
}


.services-page-wrapper .img-box-service{
    margin-bottom: 40px;
}

.content-box-service {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.content-box-service .top-content h1{
    margin-bottom: 20px;
    font-size: 40px;
    text-transform: capitalize;
}

.content-box-service .top-content p{
    font-size: 1rem;
    font-weight: 400;
    color: #666666;
    line-height: 1.75;
}

.top-content .tcp{
    padding-bottom: 1rem;
}

.content-box-service .middle-content h2{
    font-size: 30px;
    text-transform: capitalize;
    margin-bottom: 15px;
}

.content-box-service .middle-content p{
    font-size: 1rem;
    font-weight: 400;
    color: #666666;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.middle-content .img-box img{
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 1;
}

.middle-content-wrapper{
    display: flex;
    justify-content:start;
    align-items: center;
    gap: 1rem;
}

.middle-content-wrapper .img-box{
    width: 50%;
}

.middle-content-wrapper .content-box{
    width: 50%;
}

.middle-content-wrapper .content-box li{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: #151515;
    line-height: 1.6;
    margin-bottom: 10px;
}

.middle-content-wrapper .content-box li i{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 22px;
    color: #1362c8;
}

.middle-content-wrapper .content-box h4{
    padding-bottom:1rem;
    line-height: 1.75;
    font-weight: 600;
    font-size: 1.2rem;
}

.bottom-content .accordian {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 20px 50px 20px 25px;
    border: 2px solid #eee9e9;
    border-radius: 10px;
    margin: 8px 0;
    background: #e6e6e6;
    box-shadow: none;
    transition: all ease 0.4s;
}

.question {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.bottom-content .question h2{
    font-size: 1.2rem;
    font-weight: 400;
}

.question i{
    transition: 0.4s all ease;
    display: flex;
}

.bottom-content .icon{
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    color: #151515;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    border-radius: 50px;
}

.icon.active{
    transform: rotate(-180deg);
}

.answer.active .question.title h2 {
    color: #29ABE2;
}

.answer{
    color: #000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease;
}

.answer p {
    text-transform: capitalize;
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 400;
    margin-top: 1rem;
    color: #666666;
}

.answer.active{
    max-height: fit-content;
}


/* SERVICE PAGES */

@media (min-width: 768px) and (max-width: 1024px) {
    .Top-Title{
        padding: 0 3rem;
    }

    .main-title{
        padding: 0;
    }

    .Service-Page{
        padding: 0 3rem;
    }

    .sidemenu-top {
    background: #0980ff24;
    border-radius: 8px;
    padding: 20px
   }

   .service-wrapper {
    padding: 6rem 0 2rem;
    }

   .sidemenu-middle {
    padding: 30px;
   }

   .sidemenu-middle .title h2 {
    font-size: 20px;
    }

    .bottom-content .accordian {
    padding: 15px 30px 15px 30px;
    }
    
   .sidemenu-bottom {
    padding: 25px;
   }
}

@media (max-width:820px){
    .sidemenu-top {
    padding: 15px;
   }

   .service-wrapper {
    gap: 1.5rem;
   }

   .Service-Page{
        padding: 0 2rem;
    }

    .sidemenu-top .service-items li a{
    padding: 12px 15px;
    font-size: 14px;
    }

    .sidemenu-middle {
        padding:25px 15px;
    }

    .sidemenu-middle .title h2 {
        font-size: 16px;
    }

    .sidemenu-middle .contact {
    font-size: 16px;
    margin-bottom: 20px;
    }

    .sidemenu-btn {
    padding: 7px 14px;
    font-size: 0.85rem;
    }

    .sidemenu-bottom .content-box h4 {
    font-size: 20px;
    }

    .sidemenu-bottom .content-box p {
        font-size: 14px;
        margin: 15px 0;
    }

    .sidemenu-bottom {
        padding: 15px;
    }

    .sidemenu-bottom-btn {
    padding: 7px 14px;
    font-size: 14px;
    }

    .content-box-service .top-content h1 {
    margin-bottom: 15px;
    font-size: 35px;
    }

    .sidemenu-middle .logo img {
    width: 125px;
    }

    .services-page-wrapper .img-box-service {
    margin-bottom: 25px;
    }

    .middle-content-wrapper {
        flex-direction: column;
    }

    .content-box-service .top-content p {
    font-size: 14px;
    }

    .content-box-service .middle-content p {
     font-size: 14px;
    }

    .middle-content-wrapper .img-box {
    width: 100%;
    height: auto;
    }

    .middle-content-wrapper .content-box {
    width: 100%;
    }

    .middle-content .img-box img {
    aspect-ratio: 6 / 4;
    height: auto;
    }

    .middle-content-wrapper .content-box h4 {
    font-size: 1.1rem;
    padding-bottom: 10px;
    }

    .middle-content-wrapper .content-box li{
    font-size: 14px;
    margin-bottom: 5px;
    }

    .content-box-service {
    gap: 1rem;
    }

    .bottom-content .accordian {
        padding: 12px 30px 12px 30px;
    }

    .bottom-content .question h2 {
    font-size: 1rem;
    }

    .bottom-content .icon {
        font-size: 14px;
    }

    .form-grp input {
    padding: 13px 50px 13px 20px;
    }

    .form-button{
      right: 5rem;
    }
}


@media (max-width:768px){
    .Top-Title{
        padding: 0 2rem;
    }

    .main-title{
        padding: 0;
    }

    .Service-Page{
        padding: 0 2rem;
    }
}

@media(max-width:576px){
    .Service-Page {
        padding: 0px 1rem;
    }

    .Top-Title{
        padding: 0 1rem;
        margin-top: 5rem;
    }

    .Top-Title .title h2 {
    margin-bottom: 15px;
    font-size: 34px;
    }

    .service-wrapper {
    flex-direction: column-reverse;
    padding: 5rem 0 0;
    }

    .services-page-wrapper {
        width: 100%;
    }

    .sidemenu-wrapper {
        width: 100%;
    }

    .content-box-service .top-content h1 {
        margin-bottom: 10px;
        font-size: 28px;
    }

    .sidemenu-top{
        width: 100%;
    }

    .sidemenu-middle{
        width: 100%;
    }

    .img-box-service img {
    aspect-ratio: 1;
    }

    .bottom-content .accordian {
        padding: 10px;
    }

    .bottom-content .question h2 {
        font-size: 14px;
    }
}